package com.kscrm.web.service.impl;

import java.util.List;

import com.kscrm.web.mapper.ProjectClientMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.kscrm.web.domain.ProjectClient;
import com.kscrm.web.service.IProjectClientService;

/**
 * 项目客户关联Service业务层处理
 * 
 * @author Dhq
 * @date 2025-07-03
 */
@Service
public class ProjectClientServiceImpl implements IProjectClientService 
{

    @Autowired
    private ProjectClientMapper projectClientMapper;

    /**
     * 新增项目客户关联
     * 
     * @param projectClient 项目客户关联
     * @return 结果
     */
    @Override
    public int insertProjectClient(ProjectClient projectClient)
    {
        return projectClientMapper.insertProjectClient(projectClient);
    }



    @Override
    public void deleteProjectClientByProjectId(Long projectId){
        projectClientMapper.deleteProjectClientByProjectId(projectId);
    }

}
